package com.swu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 手术字典表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("surgery_dictionary")
@Schema(name = "SurgeryDictionary", description = "手术字典表")
public class SurgeryDictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "手术编码")
    private String code;

    @Schema(description = "手术名称")
    private String name;

    @Schema(description = "拼音码")
    private String pinyinCode;

    @Schema(description = "五笔码")
    private String wubiCode;

    @Schema(description = "名称长度")
    private Integer length;


}
